home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{75C038D3-EA57-11D2-A3BC-000000000000}#1.0#0"; "fsScroll5D.ocx"
- Begin VB.Form frmClipCursor
- Caption = "ClipCursor"
- ClientHeight = 2385
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5730
- LinkTopic = "Form1"
- ScaleHeight = 2385
- ScaleWidth = 5730
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command2
- Caption = "OK"
- Height = 315
- Left = 4440
- TabIndex = 2
- Top = 120
- Width = 1200
- End
- Begin FishheadScroll.fsScroll fsScroll1
- Height = 2145
- Left = 120
- TabIndex = 0
- Tag = "fsScroll"
- Top = 120
- Width = 4155
- _ExtentX = 7329
- _ExtentY = 3784
- MouseIcon = "Form8.frx":0000
- Begin VB.CommandButton Command1
- Height = 315
- Left = 1290
- TabIndex = 1
- Top = 720
- Width = 1500
- End
- End
- Attribute VB_Name = "frmClipCursor"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- fsScroll1.AllowClipCursor = fsScroll1.AllowClipCursor = False
- If fsScroll1.AllowClipCursor Then
- Command1.Caption = "ClipCursor (ON)"
- Else
- Command1.Caption = "ClipCursor (OFF)"
- End If
- End Sub
- Private Sub Command2_Click()
- Unload Me
- End Sub
- ' This sample shows how to clip the mouse cursor to fsScroll
- ' window area.
- Private Sub Form_Load()
- Call Command1_Click
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Set frmClipCursor = Nothing
- End Sub
-